<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta name="copyright" content=
    "Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type=
    "text/css" />
    <title>
      Adding Child Links to Help Pages
    </title>
  </head>

  <body>
    <h2>
      Adding Child Links to Help Pages
    </h2>
    <p>
      The Eclipse Help System recognizes two special comments in the source
      code which can be used to cause child links to appear in help topics.
      This is useful in the case of a help topic which is the parent of an
      anchor.
    </p>
    <p>
      If the sequence
    </p>

    <pre>
&lt;!--INSERT_CHILD_LINKS--&gt;
</pre>appears in the source code it will be replaced with html containing
hyperlinks to all child topics.
    <p>
      If the sequence
    </p>
    <pre>
&lt;!--INSERT_CHILD_LINK_STYLE--&gt;
</pre>appears in the source code it will be replaced by either
<code>"has_child_topics"</code> or <code>"no_child_topics"</code> depending on
whether or not the topic has children. This can be used to assign a style to a
section of html so that it will only be shown if the topic has children.
  </body>

</html>
